/* 默认样式 */
*{
    margin:0;
    padding:0;
    /* 内减 */
    box-sizing: border-box;
}
li{
    list-style: none;
}

a{
    text-decoration: none;
}
.clearfix::before,
.clearfix::after{
    content: "";
    display: table;
}
 .clearfix::after{
    clear: both;
}



body{
    background-color: #f3f5f7;
}

.wrapper{
    width: 1200px;
    margin: auto;
}

.header{
    height: 42px;
    margin: 30px auto;
    /* background-color: pink; */
}
/* logo */
.header h1{
    float: left;
}
/* 导航 */
.nav{
    /* background-color: red; */
    float: left;

    height: 42px;
    margin-left: 70px;
}

.nav li{
    display: inline-block;
    margin-right: 26px;
}

.nav li a{
    display: block;
    padding:0 9px;
    height: 42px;
    line-height: 42px;

    font-size: 18px;
    color: #050505;
}

.nav li a:hover{
    border-bottom: 2px solid #00a4ff;
}

/* search */
.search{
    float: left;
    width: 412px;
    height: 40px;
    border:1px solid #00a4ff;
    margin: 1px auto;
    margin-left: 59px;
}

.search input{
    float: left;
    width: 360px;
    height: 38px;
    border:0;
    padding-left: 20px;
}

.search input::placeholder{
/* 调input内文字 */
    font-size: 14px;
    color: #bfbfbf;
}

.search button{
    float: left;
    width: 50px;
    height: 40px;
    border: 0;
    background-image: url(../images/btn.png);
}

/* user */
.user{
    float: right;
    height: 42px;
    line-height: 42px;
    margin-right: 35px;
}

.user img{
    /* 调节图片垂直对齐方式 */
    vertical-align: middle;
}

/* banner */
/* 先通栏 */
.banner{
	height: 420px;
	/* background-color: #1c036c; */
    background-color: #1c036c;
}

.banner .wrapper{
	height: 420px;
	background-image: url(../images/banner2.png);
}

.banner .left{
    float: left;
    padding: 0 20px;
    width: 190px;
    height: 420px; /* 这里添加了分号 */
    line-height: 44px;
    background-color: rgba(0,0,0,0.3);
}

.banner .right{
    float: right;
    margin-top: 50px;
    width: 228px;
    height: 300px;
    background-color: #fff;
}

.banner .left span{
    float: right;
}

.banner .left a{
    font-size: 14px;
    color: #fff;
}

.banner .left a:hover{
    color: #00b4ff;
}

.banner .right h2{
    height: 48px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size:18px;
    color: #fff;
}

.banner .right .content{
    padding: 0 18px;   

}

.banner .right .content dl{
    padding: 12px 0;
    border-bottom: 2px solid #e5e5e5;
}

.banner  .right .content dt{
    font-size: 16px;
    color: #4e4e4e;
}

.banner .right .content dd{
    font-size: 12px;
    color: #a5a5a5;
}

.banner .right .more{
    width: 200px;
    height: 41px;
    border: 1px solid #00a4ff;
    margin: 4px auto 0;
}

.banner .right .more a{
    display: block;
    height: 41px;
    line-height: 41px;
    text-align: center;
    font-size: 16px;
    color: #00a4ff;
    font-weight: bold;
}

/* 精品推荐 */
.goods{
    margin-top: 8px;
    width: 1200px;
	height: 60px;
	background-color: #ffffff;
	box-shadow: 0px 2px 3px 0px 
		rgba(118, 118, 118, 0.2)
}

.goods .box{
    padding:21px 26px 0 34px ;
}

.goods h2{
    float: left;
    font-size: 16px;
    color: #00a4ff;
}

.goods ul{
    float: left;
}

.goods ul li{
    display: inline-block;
    border-left: 1px solid #bfbfbf;
    margin-left: 30px;
    padding-left: 34px;
}

.goods ul li a{
    font-size: 16px;
    color: #050505;
}

.goods a{
    float: right;
    font-size: 14px;
    color: #00a4ff; 
}

/* 精品课程 */
.box {
    margin-top: 35px;
}

.box .title {
    height: 40px;
}

.box .title h2 {
    float: left;
    font-size: 20px;
    color: #494949;
    font-weight: 400;
}

.box .title a {
    float: right;
    margin-right: 30px;
    font-size: 12px;
    color: #a5a5a5;
}

.box .content li {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    width: 228px;
    height: 270px;
    background-color: #fff;
}

.box .content li:nth-child(5n) {
    margin-right: 0;
}

.box .content li h3 {
    padding: 20px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}

.box .content li p {
    padding: 0 20px;
    font-size: 12px;
    color: #999;
}

.box .content li span {
    color: #ff7c2d;
}

/* 版权 */
.footer {
    margin-top: 40px;

    padding-top: 30px;

    height: 417px;
    background-color: #fff;
}

.footer .left {
    float: left;
}

.footer .left  p {
    margin: 20px 0 10px;
    font-size: 12px;
    color: #666;
}

.footer .left a {
    display: inline-block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 36px;
    font-size: 16px;
    color: #00a4ff;
}

.footer .right {
    float: right;
}

.footer .right dl {
    float: left;
    margin-left: 120px;
}